#include "calc.h"

int main()
{
	Token_stream ts;
	try {
		sybol_tables.define_name("k", 1000, true);
		calculate(ts);
		return 0;
	}
	catch (exception& e) {
		cerr << "exception: " << e.what() << endl;
		system("pause");
		return 1;
	}
	catch (...) {
		cerr << "exception\n";
		system("pause");
		return 2;
	}
}